package plus.easydo.jdbc.exception;

import plus.easydo.core.exception.BaseException;

/**
 * @author laoyu
 * @version 1.0
 */
public class JdbcDynamicException extends BaseException {

    private static final long serialVersionUID = 1L;

    private static final String DEFAULT_ERR_CODE = "JDBC_DYNAMIC_ERROR";

    private static final String DEFAULT_ERR_MESSAGE = "JDBC动态数据源异常";

    public JdbcDynamicException() {
        super(DEFAULT_ERR_CODE,DEFAULT_ERR_MESSAGE);
    }

    public JdbcDynamicException(String message) {
        super(message);
    }

    public JdbcDynamicException(String errCode, String message) {
        super(errCode, message);
    }

    public JdbcDynamicException(String errCode, String message, Throwable cause) {
        super(errCode, message, cause);
    }

    public JdbcDynamicException(String errCode, Throwable cause) {
        super(errCode, cause);
    }
}
